import Vue from 'vue';
import VueRouter from 'vue-router';
import HelloWorld from '@/components/HelloWorld';
import News from '@/components/News';


Vue.use(VueRouter);

export default new VueRouter({
    routes: [
        {path: '/news', name: 'news', component: News},
        {path: '/about', name: 'about', component: HelloWorld},
        {path: '/', name: 'hello', component: HelloWorld},
    ]
})